import piniaPluginPersistence from "pinia-plugin-persistedstate";
import { createPinia, type Pinia } from "pinia";

/** Pinia Store 挂载持久化插件 */
const pinia: Pinia = createPinia();
pinia.use(piniaPluginPersistence);

export default pinia;
